import Mock from 'mockjs'
import '@/mock/extend'
const BASE_URL = process.env.VUE_APP_API_BASE_URL

const userList = Mock.mock({
  'list|100': [{
    'id|+1': 1,
    'name':'@cname',
    'username': '@string',
    'mobile': '@integer(12000000000,19999999999)',
    'organization':'@string',
    'time':'@TIME',
    'status':'@integer(0,1)',
  }]
})
Mock.mock(`${BASE_URL}/userList`, 'post', () => {
  return userList
})
